//
//  ByViewIndexAdvert.h
//  jinpuyiyuan_ios
//
//  Created by mc on 2017/12/5.
//  Copyright © 2017年 mc. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ByViewIndexAdvert : UIView
// 设置轮播视图的位置和轮播时间间隔
- (instancetype)initWithFrame:(CGRect)frame
                timerDuration:(CGFloat)duration;
@property (nonatomic, strong) NSArray *models;          // 轮播model数组

// 回调
//@property (nonatomic, strong) void (^pushBlock)(ByModelHomeNotice *noticeId);
@end
